package cn.wch.ch934xlib.chip;

public enum ChipType {
    //VID=0x1A86,PID=0x55D2
    CH934X(6790,57368,"CH934X");

    int vid;
    int pid;

    String description;

    ChipType(int vid, int pid,String description) {
        this.vid = vid;
        this.pid = pid;
        this.description = description;
    }

    public int getVid() {
        return vid;
    }

    public int getPid() {
        return pid;
    }

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return "ChipType{" +
                "vid=" + vid +
                ", pid=" + pid +
                ", description='" + description + '\'' +
                '}';
    }
}
